Added skeleton code for queries