query on normal array