added code snippet on directly calling another method in the inheritance tree