use native array reverse function