Added setCurrentPage() method