add starting end ending time