refactor initialize phase
add style changes and arrow
set probability table only on valid input
force output block formatting