Project 1 for sensor class