fixed naming of arrays