need to replace sleep(1). slowing down sequential