implement to entering active view