register view and ctrl
register view and ctrl