modified the assosiations to has many through