finish snippet annotation