Issue 38 getattribute

fixes #38