Added list-failed and reset-failed features