Creating function loadWorld