How to use the Array Function