Resource consumption yields social utility and exploration effort controls uncertainty in the timings of discoveries as well as their magnitudes. The goal is to maximize the total expected discounted utility of consumtion, net of the exploration effort. We present a controlled storage model and characterize the optimal policy. The associated resource price is shown to follow a stochastic version of the Hotelling.