Fixed iterator so that it now iterates correctly, can't paint though