Line 74 needs to be kept; otherwise it will results in wrong data[]
I added comments to explain.