Expanding example with setting the current page