remove mutable from member data and const from member functions modifying the member data