added character extractor