finished queries for resources