Adding negative number handling for temps