first working version of extractors