Adding Filling Database function