implement setting of duration, start and end times