looking at leaving and entering views