Sorry i didnt make any changes on this part of code.
You shoud look at the original code.