added join function
Added several anaphoric operations