Randomness and context