@Override
    protected Pizza createPizza(String type) {

        Pizza pizza;

        if(type.equals("cheese")) {
            pizza = new NYStyleCheesePizza();
        } else  {
            pizza = new NYStyleMeatPizza();
        }

        return pizza;
    }