wrote to merge