hw 3 using a tutorial