Add EC
Remove debug lines