Confident patterns: use built-in conversion functions