finished assignment6 for sure