Updated IIFE