final submission of assignment 2