removed emd.cpp