joined ways implementation