add missing argument for factory function

RT