Assignment 6 final part