Changed Controls method to use a switch's instead of if's