Adding queries to proj