Added parameter to set current page