Added self-destruct function