hmm getting error on smallest-divisor