rewrite all views and widgets begin