good intro to using lots of if/else and switch/case