Change Arrays to Array