added output for win to console