getattr coded