make it perform faster and give ability to stop process