You probably want this to be a hash, based on the accessors you added in the model