Added db insertion - still working