data to array | not working