added a state variable for the world