Changed CC->columnsPerPage and JPRIME to isPrime