works on insertion methods