ïmplemented the better logic. added states for changing hotter and colder feedback