added anon and iife snippets