changing windows
optimize stuff