db created and data inserted