modify freeing result set.
tdd update.