lab4 merge