Adding constants for joins and orders