class demo iife