Possibly figured out bug in insert