Changed process generator to work with proper numbers.