specify failure text with a class