added utils.queryAll