use renderArray for result