code reconstructed; stock data ready