added revere array