updated win syntax to make it easier to read