Handles relations better