A sensor device (1) for detecting the presence of a target molecule (20) in a sample, is disclosed. The sensor device comprises a measurement sensor (2) comprising a first 
moiety (16) for forming a binding couple with a first further 
moiety comprising the target molecule (20) and a detectable 
label (40) and a 
reference sensor (3) comprising a second 
moiety (50) for forming a further binding couple with a second further moiety comprising a further detectable 
label (40′). The sensor device is adapted to generate a first detection 
signal (14) from the detection of the detectable 
label (40) in the first further moiety bound to the first moiety (16) and to generate a second detection 
signal (14′) from the detection of the further detectable label (40′) in the second further moiety bound to the second moiety (50), wherein at least during operation of the sensor device the second further moiety is expected to be present in a predefined amount such that the value of the second detection 
signal (14′) falls within an expected signal value window when the binding reaction of the second further moiety to the second moiety takes place as expected. An apparatus comprising such a sensor device, methods of operating the sensor device and apparatus and a sample for use with the sensor device are also disclosed.