adding infinit lat for loss