start win functionality