paging with pg num