Always include a default fallback in your switch/case statements. It will ensure a value loads – even when none of your conditions are met.