turning number in array