Designing Probability functions (as relative frequency)