join funcion added