side by side formatting of periods
treshold -> threshold
fixed formatting