first workable query