starting on sensor info function