added initialization for winMain