Donnie's part 2 code