Easier to profile the code if the match is done on a separate line from the return (so that's why I left it).