implement currenttime/duration