added color codes to validation output