add bool extractor