almost done with part b, edited tuple
almost done with b