add query by page