cleaned up the code some

Separated sections of code into labels so they can just be called with
the call statement so it looks cleaner and easier to read.