Moved deliverNow function from controller to model