assignment6.5 commit by 13307130174