adds failure conditions