how to handle loss