initializing the class by calling the super class