use prelude for swap windows