Anonymous class example