factor divide works