refactor views with fries