states changed to __getattribute__