added Iterator.last method