Worked on polymorphism trough interfaces