added more documentation for partB