Is this any better?

I changed the formatting. Also without GOTO's, because GOTO's are evil