changed to swap instead of alias for swapping alias mapping