implement Mstatus iterator