gave new rewrite method better name