Added failure case.