make failure logic same + add color to final output