add functionality to add/remove snippets