Fixed bug with insert(). Should work now.