Reoved buggy forloop code
Removed usesless comments