hw4 stuff