add line-outside
add test
add calc-diff-prob
make prob float
return also probability
fix forgotten var
debug print