Sensor design