updating indexed access to statements
updating indexed access to statements