resolved accessing protected member function