Replaced else if stuff with switch case. Decreases the chance of burning eyes out.