lab 5 last method