added an otherwise (default) case for the caseof statement