before rewriting MethodStructure