Add mergeLastHEAD() function too