added some initialization for winCodeList