adding relationships between models