an attempt to make the switch windows