add sleep statement