Kiran | #5 | Refactored to pull preferred time calculation into a service.