Forgot breaks in part of the switch() statement. DERP.