passed populated workunits to match function
Merge pull request #6 from intoxicated/master

passed populated workunits to match function