arry opertions and costing