access logic for snippets