no need to empty array in a special way