debugging version taking care of the negative arf file problem