added check on valid temp range, colored temperature