removeLast operation