changed variable "J" to "currentNumber" and the boolean "JPRIME" to "isCurrentNumberPRIME"