I add po another function for the computation of total pages..