implemented get name feature