working register view hopefully completed