complicated code part 2 | ScratchStats