Added the jiggly lines and an address swapping function