candidate validation