rewrite amounts