Sage advice. OP, there are a few more spelling mistakes in your code. Use Norm's technique to track them down.
Type: Posts; User: ChristopherLowe
Sage advice. OP, there are a few more spelling mistakes in your code. Use Norm's technique to track them down.
lastNmae = last;
Spelling mistake in the constructor.