added basic loss condition
added basic loss condition2
loss conditions