add sleeps and remove comments