finaly supporting FF, made factories singletons