added member function version