assignment 2 EC