add loss simulation