use ternary for shouldDestroy