create relationships between models