added currentPage method
added currentPage method