Tweaks to the array function

Learning a serious amount of stuff today.