modified StockWatcher.java