allow for changing end time