added assignment 6