add function to get sensors