Progress on inserting into database