updated client & header with const member function