Rewrite association structure