Changes for end time