handles the end of turn
what is a merge_head