new structure for rewrite
rewrite