Head to tail problem.