updated "lose" to "loss" to fix our bug