added logic for emptying kettle