implemented the sensor shape