use an option type to handle a failed classification