intermediate. issues with relationship between models