adding hw 6.