populate and db