Added extraction template and condenser code