first try on relating HasJoin.