merge works well. added a preliminary check_varnames to check for what varnames are found in your particular data