destroy after to free memory.