added getsysregprogress function