add get_title method