make inserts optional