prepare merge