Snippets for BP code