Added swap.
Merge branch 'test' into dev