plugging through hw4