You can remove the if/else statement entirely and run the last block of code for every case