use native js array