Changed variables RR to numberOfRowsPerPage and CC to
numberOfColumnsPerPage.