added get_title method