hw4 first version