Removed stuff from temperature check