removed <fail> code