defining a resource to process an array...