added basic functionality for changing temperature