Common code to worldinfo