Finish ex2 parts 1-3.