format class world to World