changed failure type data structure