add insert-l and insert-r