class, add member function