this needs to be updated as ``array[]`` as well