snippets for apl