added temperature toggle switch