Email Record: Stochastic control in discrete and continuous time /