scheduling details: work out start/end time