code for testing sequence borrowing insert