added end point for snippet highlight