complete style rewrite