first part of hw4