Framework for Assignment 2