rewrite of stuff