code added to invoke multiple validators