Custom Projection on joins