Changed "create()" to "factory()" for consistency