Added temperature functionality