win window util class - draft version