added assignment-7