add some member functions.