init window spec