create a second class that extends first class and add a method