PA08 merge function left