Finished part 1 of ec