generate inserts