Yes. Also, `create_factors` was unused in the code.