bringing insert db back in