move function for clean merge