Adjusted code to new cWorlds