added windowswap