change GetDataFromRec() to stab