private List<DBObject> ConstructMongoQuery(List<String> finvizReturn) {

        LinkedList<DBObject> MongoQueryList = new LinkedList<DBObject>();
        int headerFlag = 0;
        String[] headers = new String[]{""};
        for (String finvizValues : finvizReturn){

            if (headerFlag == 0){
                //extract headers
                headers = finvizReturn.get(0).split(",");
                headerFlag++;
                headers[0] = "_id";
            }else {
                //use stock ticker as ID
                BasicDBObject FinvizQuery = new BasicDBObject();
                String[] FinvizRec = finvizValues.split(",");
                FinvizQuery.put(headers[1],FinvizRec[1]);
                MongoQueryList.add(FinvizQuery);
            }


        }

        return MongoQueryList;
    }