Done with inserting data into a local database