used Lee's code to make an OO'ed temperature controller; can't do much yet