Compressor and extractor helpers for terminal