create koma-score
modified next algorithm