Added dependencies
Added logicalArray selection