Moved 'factor2char' hammer to top of function