added hw4 beginning