implemented a really simple subset of igloo
implemented a really simple subset of igloo, but it works