Added a round completion requirement. Fixed some code.