Added IIFE snippet