Trying to get DB intergration to work