turning methods into attributes for faster access