Make use of the List.removeLast method