return the whole array, not the deleted portion