added loss/tie/win info, improved code clarity