add winner. change warnings code. fix some small typos/variable names