Adding supplementary code for db population