properly utilize view
working tests