Merge pull request #40 from Earth4/master

Loop fix
Changed Object() to Array()