made the temperature bit work