Problem with a member function.