made WorldState dynamic