Draft: better docstring in array function