You don't need to repeat ``onRejected`` here. You should chain together the handlers and define them inline (like before) because I think it makes the code more readable. Instead of the old ``.fail()`` at the end of the chain you can use ``.catch()``.