more work on join expressions