Join logic generated but not actually used