Added "extract" pass (not functional yet)