Swap less accessible code snippet for more accessible code snippet