add query for page