final changes for submit assignment5