reset to array