removed sleep from process