Better getTitle() method