returned original arrays back to original