editorial at the end because order of that content matters
adding +1 to maxval of progress bar or else will segfault