renamed two member functions to fix overloading problem