AM: copyright on erd.f90