changing the array it shows to 0 instead of all of them