Added the factorization code
Sync