Imported EC implementation