corrected parser, check for no duplicates