fixed bug, loop now goes to 20

fixed bug, loop now goes to 20