added ec and em-find