Fragmented version of Assignment2b