modified array of success and failure