pass in non standard database lookup as hash