public void startBaking() {
synchronized(lock){
if(this.isRunning == false){
this.isRunning = true;
ConsumeIngredients consumeIngredients = new ConsumeIngredients(this);
Timer timer = new Timer("baker");
timer.schedule(consumeIngredients, (long) (Clock.convertToSimulatedTime(this.executionTime)));
this.completionTime = Clock.addTime(this.executionTime);
System.out.println("Started baker "+this.id+", will be completed at "+this.completionTime.toString());
}