Mod to class example