set the time gap