added 'insert' option