add FactoryMethod examples