use the own destruct function instead of free