Add a much simplified solution without worrying copying the remaining list.