factor code