modify global structure