updated documents to show you can use an array