successfully rewrite deck