adding join method