yay rewrite