Added chosen time functionality