before rewrite of MethodStructure