reverse data array