figuring out the logic of hot cold