Good idea. I think the array version of this involves adding more dependencies, but I'll check