paritally complete with hw6
updated template and hw6