swapper implemented, not yet working