added method to get temperature data
remove call to get data