added lose check