modify searchInsert()