array with queries as values
updated