changes to model, added has_many