Added Anteing and losing conditions