mecanism factoring