add two new virtual functions: