added assignment6 with changes