finished hw 10 but getting small error and trying to fix