implemented #for-each# macro, added more complex Atom type