was fixed some problems

2.6 was deleted the cycle "for" , because it was useless.
2.8 was deleted randomly added part of the code due to it didn't work.