refactor + view with styles