view refactoring to make GoTo actions possible from GUI