logical error - example 1 | ScratchStats