added convert.samples.ED to NAMESPACE