added db back in