changing case statement to throw errors on non-handled drivers