improving merge