add example and documentation to probcal