removed "swap" a stl keyword