Text version of hw4