add a `default:` clause with some error handling. We shouldn't just do nothing if the user writes something bogus.