refactors
view