export ref class function