added extractor function