added code for generating the world set