Removed `factor` function