factorial repository