trying to fix primefactors again