query moved up