Removed unsed vars ETMEAS, IDATES