added db support for money