[rewrite] search ins pos