IIFE documentation and code completed