hw6 some tries to fix