hotter and colder function added