added code for the world