windmove and some other stuff