small functions to parse the crest output