finished insert, needs testing. Still needed: sanity_check and Print