Fixes #13

Put the culture validation in a method.