revised validation pipeline