Added a fallthrough to the key code checking if/else