Taking advantage of polymorphism