added the association correctly by foreign key