Added FactoryMethod example