pass in non standard database lookup as hash
Merge pull request #4 from andrewjpage/master

cast as hash