Separate failure and success cases