Wrote NextStoptime