began merge code