checking for comment, and defaultdict thing