rewrite the structure,specified