show candidates when input