updated 'insert' definition and comment