more efficiently parse
dont return in void
Merge pull request #2 from andrewjpage/master

speedup parsing