first query-execution design