verified the code and removed the problems regarding the evaluation code still the code is really slow