made array local