added page function