implemented getLastNode()-method