implement rewrites in otherwise
0.1.5