implement methods for object virtual table