chance and histogram