changed add to insert in join