getTitle() method added