add sleep to time