database populator working