modified the global structure