Reversed the wrong array