reverted mega query