Nice use of polymorphism!