Add destructing in match if atomic