how to deal with the unexpected