finished hw4 minus challenge question