use string instead of symbol for accessing attributes