most of tournament functionality complete