Stata-like merge command is working