Added pageCounter