moved arg extractor to setup