written join method