db insertion functions implemented!! 
we can test it