Issue with head and tail
Merge