created & populated database