second part of hw2