adding getAttr

This should solve issue #31
Let me know what you guys think!