assignment-9.html extended