code after replace conditional wiht polymorphism