parameterized the displaying of candidates on sprite name