Ran a test of polymorphism and it works :)