#57 new common method: attr()
#57 updating views to use the new attr() method