Fixing undefined variable $dataList
Merge pull request #30 from halkyon/undefined_var_fix

Fixing undefined variable $dataList