initial CandidateParserSpec and code formatting