function calls after subscripting arrays or tables