Need to handle function invocations inside array brackets