sum_factors still not working for some reason