auto-destruct

Add bool variable to struct