added toArray
1.0.3