new functions for candidate preselection