allow nested queries