use native Array instead of custom function