worked on getting date and sensor input