added failurevector code