done: implemented destructur