While in general trading off exploration and exploitation in reinforcement learning is hard, under some formulations relatively simple solutions exist. In this paper, we first derive upper bounds to for the utility of selecting different actions in the multi-armed bandit setting. Unlike the common statistical upper confidence bounds, these explicitly link the planning horizon, uncertainty and the need for exploration explicit. The resulting algorithm can be seen as a generalisation of the classical Thompson sampling algorithm. We experimentally test these algorithms, as well as ǫ-greedy and the value of perfect information heuristics. Finally, we also introduce the idea of bagging for reinforcement learning. By employing a version of online bootstrapping, we can efficiently sample from an approximate posterior distribution. ⋆ Thanks to M. Keller and R. Chavarriaga, for comments and interesting discussions.This work has received financial support from the Swiss NSF under the MULTI project (2000-068231.021/1) and from IDIAP. This is updated version better discusses earlier work and places this paper in a proper context.