Added work for part c of ws1