RR -> numberOfRowsPerPage
CC -> numberOfColumnsPerPage
Removed WW, useless parameter.
Updated missed RR and CC variables.