removed sleep from correctness