add insert and join methods