Working version of heating control