Why you redefined units array here?