exercises done for part 2