fixes #7. Factorial still working.