swap method and swappers as instance variables