WIP: extraneous win code