added getsysregprogres function