add default for case to supress error