moved for to the end - removed ending ;