added page=>all functionality