working on getattr