added page counter