Refactored DayPilot out