added some sleeps