adds total time, moves the with recipe to controller