operation on the base-class pointers