added name() and title() methods