added example for static polymorphism