For Assignment 6