Added ungodly switch statement guts

All of the switch statement!! WOOOOOOO!!!!!