That's not really a better way; just a little more verbose. Maybe I'll just write a hex trapping function.