How dare there be syntax errors in this half-completed code