add color coding of success/fail