add comment
add coercion code
rewrite if statement by switch
add calculation of steady state retention
add sidePanel and result div
show retention in steady state