inheriting a class now provides super functions for all overrided function