return undef if the split fails.
define error values, return run error if things fail.
forgot a semicolon
Merge pull request #118 from juliema/issue-117

Issue 117