added variable array references