extract sintract::template