My results are correct, but I don't get the last checkpoint. I could rewrite everything in a different style, but first I would like to know why it doesn't work this way. Thanks in advance!