hw4.4 and hw4.5