Coded assignment 2.