Added lose condition