added the mod class