Adding inherit method
Adding inherit method