finish assignment6