optimize World code