Working on the cooker logic