public synchronized static Stock queryStock(String identifier) {
        StockStorage store = StockStorage.getInstance();
        Stock s = store.query(identifier);
        if (s == null) {
            s = StockQuery.QueryOne(identifier);
            store.addStock(s);
            store.save();
        }
        s = store.query(identifier);
        
        return s;
    }