add constant variable for pass, fail, err1...etc