probability extension
all stuff