add id number on FactoryMethod