addded checks for ops on indexed arrays