toArray added