removed malloc from world_polling_process