remove sleep from testing