This was for a java class to learn polymorphism with objects