Pretty much every line is unsafe. Maybe `end` can be made safer, I'll do that.