merge  code