to complete coding into the new feature for cursor in ioinject