formatted the switch because it was ugly