got the candidate class working close #14