inserting large amounts into the database