added the has many and belongs to associations