GUIDE · GO ITERATORS · 25 MIN READ
Go iterators in practice: yield, iter.Pull and cleanup
Use Go range-over-func iterators safely: yield and early break, iter.Pull with stop, adapters, paginated APIs and SQL rows. Tested with Go 1.27.3.
Edition: · Practical guide. Added to the archive on the publication date above. Sources and worked examples below.

Iterators are contracts, not loop sugar
Range-over-func iterators have been part of Go since Go 1.23, and the standard library now hands them out routinely: slices.Values, maps.Keys, strings.SplitSeq and many other functions return values that a for ... range loop can consume directly. The syntax is small enough that it is easy to treat an iterator as a fashionable spelling of a loop. In production code it is something more specific: a function that produces values on demand, stops when its consumer says so, and owns any cleanup between those two moments. Most iterator bugs come from forgetting one of those three duties.
This guide is the 27 November 2026 edition, researched and first published on 30 November 2026. Every code block comes from a lab module that we ran with Go 1.27.3 under gofmt, go vet and go test -race -count=3. The tests check early stop through adapter chains, deferred cleanup after break, return and panics, an iter.Pull merge whose stop function demonstrably closes its source, a paginated HTTP API, database/sql rows behind an instrumented driver, and the goroutine that a channel-based generator leaves behind. Go 1.27.4, released on 10 November 2026 with security fixes, is the current patch release according to the release history; build production binaries with it and rerun the lab after upgrading.
The plan is practical. We start with what the range statement actually does with your function, then write adapters that respect early termination, attach cleanup to the iterator rather than to its callers, use iter.Pull where two sequences must advance in step, and expose paginated APIs and database rows as iter.Seq2[T, error]. The last sections compare iterators with channels, measure what they cost, and list the cases where a plain slice or a callback remains the better API.
What the range statement does with your function
The language specification accepts three function shapes as range expressions: func(yield func() bool), func(yield func(V) bool) and func(yield func(K, V) bool). The iter package names the last two iter.Seq[V] and iter.Seq2[K, V]. When a loop ranges over such a function, the compiler synthesizes a yield function from the loop body and calls your function once with it. Each call to yield runs the body once, with the arguments as the iteration values. While the body keeps going, yield returns true. When the body ends the loop early, for example with break or return, yield returns false and, in the specification's words, must not be called again. A panic in the body is different: it unwinds through the iterator, as a later section shows.
// Count yields start, start+1, start+2, ... until the consumer stops.
// It never finishes on its own, so it is only safe behind Take or a break.
func Count(start int) iter.Seq[int] {
return func(yield func(int) bool) {
for i := start; ; i++ {
if !yield(i) {
return
}
}
}
}Count never finishes on its own. It is still safe to range over, because the only thing that keeps it running is a consumer that keeps saying yes. That is the central design property: control flows from the consumer back to the producer through a single boolean.
Two practical consequences follow. First, creating an iterator does nothing. Count(1), a filtered pipeline or a paginated API iterator is just a function value until something ranges over it; the lab confirms that building a three-stage pipeline does not start its source and that constructing a paginated iterator sends no HTTP request. Second, every range loop calls the function again. A reusable iterator, such as one that opens a file or runs a query, repeats that setup for each loop, and the iter documentation asks authors to state explicitly when an iterator is single-use instead.
The feature is gated by the module's language version. In a module whose go.mod says go 1.22, ranging over a function fails to compile with a message that it requires go1.23 or later, even when the build uses a Go 1.27 toolchain. Check the go line before blaming the compiler.
Yield returning false is the only stop signal
An iterator that ignores the boolean is broken, but nothing in the type system says so. The following function compiles without complaint:
// badCount ignores the result of yield. This is the bug the runtime catches.
func badCount(n int) iter.Seq[int] {
return func(yield func(int) bool) {
for i := range n {
yield(i) // BUG: the result is ignored
}
}
}When a range loop breaks out of badCount(5) at the second value, yield returns false, badCount calls it again anyway, and the runtime panics. With Go 1.27.3 the recovered value is a runtime.Error whose message contains "range function continued iteration after function for loop body returned false". The iter documentation states the rule plainly: yield panics if called after it returns false. The lab asserts both the type and the message, so a regression in an adapter fails loudly in CI instead of quietly corrupting state.
There is a catch that matters for unit tests. The panic comes from the synthesized yield that a range statement builds. If a test calls the iterator directly with a hand-written callback that returns false, nothing enforces the contract: our test does exactly that with badCount(5) and observes five callback calls and no panic. Test iterators through real for ... range loops, or make hand-written callbacks fail the test when they are called after returning false.
Panics also travel in the other direction. When the loop body panics, the panic unwinds through yield and through the iterator function, so the iterator's deferred calls run before the panic reaches the caller. The lab panics inside a loop over a mapped source and verifies that the source's cleanup ran exactly once. An iterator must not hide such a panic. If it recovers a loop-body panic and returns normally, the range statement panics again with "range function recovered a loop body panic and did not resume panicking", and the lab checks that message too. Recover inside an iterator only from failures it raised itself, and let everything else continue unwinding.

Adapters must pass the stop signal upstream
Filter, map and take are the first adapters most teams write. The standard library still does not provide them for sequences in Go 1.27. The Go blog post that introduced range-over-func included a Filter example and noted that a library version might be added in a future release. Writing them is straightforward, provided every adapter treats a false from its own yield as an instruction to stop its source:
// Filter yields the values of seq for which keep reports true.
func Filter[V any](seq iter.Seq[V], keep func(V) bool) iter.Seq[V] {
return func(yield func(V) bool) {
for v := range seq {
if keep(v) && !yield(v) {
return
}
}
}
}
// Take yields at most n values of seq. It stops seq as soon as the n-th
// value has been delivered, so the source never produces value n+1.
func Take[V any](seq iter.Seq[V], n int) iter.Seq[V] {
return func(yield func(V) bool) {
if n <= 0 {
return
}
seen := 0
for v := range seq {
if !yield(v) {
return
}
seen++
if seen == n {
return
}
}
}
}Inside an adapter, the simplest way to stop the source is to return from the body of the inner range loop. That return makes the source's yield return false, the source runs its deferred cleanup, and only then does the adapter itself return. Take checks its counter immediately after delivering a value instead of waiting for the next one. That ordering matters for expensive or side-effecting sources. Take(Filter(Map(source, square), isEven), 3) over an infinite counter returns [4 16 36], and the instrumented source reports that it produced exactly six values and ran its cleanup once. In a deliberate mutation where Take checked the limit only when the next value arrived, the filter had to find one more even square first, the source produced eight values, and the test failed.
Two more mutations show why these tests exist. Replacing the check in Filter with a bare yield(v) made the chain test panic with the runtime message from the previous section. Calling Take(seq, 0) must not start the source at all, and the lab checks that the source's open counter stays at zero. Generic adapters like these are a sensible use of type parameters because the relationship between input and output element types is the whole contract. Keep business rules in the functions you pass in, where they can be named and tested on their own.
Use the slices and maps helpers first
Before writing helpers, check what Go already ships. Go 1.23 added slices.All, slices.Values, slices.Backward, slices.Collect, slices.AppendSeq, slices.Sorted, slices.SortedFunc, slices.SortedStableFunc and slices.Chunk, together with maps.All, maps.Keys, maps.Values, maps.Insert and maps.Collect. Go 1.24 added Lines, SplitSeq, SplitAfterSeq, FieldsSeq and FieldsFuncSeq to both strings and bytes, which let you walk the pieces of a string once without building an intermediate slice.
The most common idiom combines two of them to walk a map in a deterministic order:
func Example_sortedMapKeys() {
stock := map[string]int{"pear": 3, "apple": 5, "fig": 0}
for _, name := range slices.Sorted(maps.Keys(stock)) {
fmt.Println(name, stock[name])
}
// Output:
// apple 5
// fig 0
// pear 3
}maps.Keys yields keys in map iteration order, which the specification leaves unspecified, so slices.Sorted collects and sorts them. slices.Collect(maps.Keys(m)) on its own can produce a different order on every run. Going the other way, maps.Collect(slices.All(s)) builds an index-to-value map, and the lab's example checks its output.
Two details deserve tests in your own code. slices.Collect appends to a nil slice, so an empty sequence collects to nil, and encoding/json marshals that as null, not []. If an API promises an empty JSON array, append into a non-nil empty slice:
func Example_collectEmptyIsNil() {
none := slices.Collect(iterflow.Filter(slices.Values([]int{1, 3}), func(v int) bool { return v%2 == 0 }))
a, _ := json.Marshal(none)
b, _ := json.Marshal(slices.AppendSeq([]int{}, slices.Values(none)))
fmt.Println(none == nil, string(a), string(b))
// Output: true null []
}Second, slices.Chunk sets the capacity of each chunk to its length. Appending to the first two-element chunk in the lab allocates a new array and leaves the original slice untouched, instead of overwriting the element that begins the next chunk. Chunks are still subslices of the original array, so writing through an index changes the source. Our slices aliasing guide explains why clipped capacity prevents one kind of sharing but not all of it.
Put cleanup inside the iterator with defer
An iterator that acquires something, such as a file, a response body, a lock or a database cursor, should release it itself. The consumer cannot see the resource, and it should not need to. Deferring the release inside the iterator function covers every way the loop can end:
// ReadLines opens a source each time the iterator runs and yields its lines.
// The reader is closed when the loop finishes, breaks, returns or panics,
// because the close is deferred inside the iterator function. A scanner or
// open error is yielded once and ends the sequence.
func ReadLines(open func() (io.ReadCloser, error)) iter.Seq2[string, error] {
return func(yield func(string, error) bool) {
rc, err := open()
if err != nil {
yield("", err)
return
}
defer rc.Close()
sc := bufio.NewScanner(rc)
for sc.Scan() {
if !yield(sc.Text(), nil) {
return
}
}
if err := sc.Err(); err != nil {
yield("", err)
}
}
}The tests drive ReadLines with a reader that counts Close calls. Breaking after the first line closes it once, and draining every line closes it once. A line longer than bufio.MaxScanTokenSize makes the scanner fail with bufio.ErrTooLong; the iterator yields that error once, and the reader is still closed. When we deleted the defer line, both the break test and the Pull test failed with zero Close calls. Errors share the sequence with values: open, scan and read failures arrive as the second value of an iter.Seq2[string, error], and each one is the last thing the iterator yields. Our streaming I/O guide covers the scanner limits and end-of-file handling behind this code.
Keep two kinds of defer apart. A defer inside the iterator function runs when the iterator returns, which for a loop that breaks is immediately after the break. A defer written inside the consumer's loop body belongs to the function that contains the loop, exactly as in an ordinary for loop. The lab records the order of events: iterator cleanup, then the code after the loop, then the loop-body defers in reverse order when the enclosing function returns. Deferring a per-item close inside a long loop therefore still accumulates work until the function exits.
ReadLines is reusable because it calls open on every run. StreamLines in the lab wraps an existing io.Reader and is single-use: its scanner is created once, so a second loop continues after the line where the first loop stopped, and a loop after the end yields nothing. Creating a new scanner on every call would be worse, because the first scanner may already have buffered lines that the second can never see: in the lab, a version that does this returned nothing at all from its second loop over a four-line input after the first loop broke at line one. Say which kind you wrote in the doc comment, as the iter documentation recommends.
Pull when two sequences must advance together
A range loop consumes one sequence at the producer's pace. Merging two sorted sequences, zipping them or comparing them element by element needs a consumer that decides which side advances next. iter.Pull converts a push iterator into a next function and a stop function for exactly this case:
// MergeSorted merges two ascending sequences into one ascending sequence.
// It pulls from both inputs in lockstep and stops both when it returns,
// including when its own consumer breaks early.
func MergeSorted[V cmp.Ordered](a, b iter.Seq[V]) iter.Seq[V] {
return func(yield func(V) bool) {
nextA, stopA := iter.Pull(a)
defer stopA()
nextB, stopB := iter.Pull(b)
defer stopB()
va, okA := nextA()
vb, okB := nextB()
for okA || okB {
if okA && (!okB || cmp.Compare(va, vb) <= 0) {
if !yield(va) {
return
}
va, okA = nextA()
} else {
if !yield(vb) {
return
}
vb, okB = nextB()
}
}
}
}next returns the next value and true, or the zero value and false once the sequence is over. stop ends the iteration early: the suspended yield inside the source returns false, the source runs its deferred cleanup, and stop returns. The iter documentation says that stop must be called when the caller is no longer interested and next has not yet reported the end, that calling it more than once is valid, and that callers should typically defer stop(). MergeSorted defers both, so when its own consumer breaks, both inputs are released. The lab breaks after three merged values and confirms that both instrumented sources ran their cleanup. With the two defer statements removed, neither source was stopped and the test failed.
Pull brings rules that a range loop never needed. next and stop must not be called from multiple goroutines simultaneously. If the source panics, the panic is raised again from the next or stop call that resumed it, and the lab confirms that the recovered value is the source's original one. Pull is also not free: the runtime coroutine implementation behind it creates a goroutine for the iterator and switches control between that goroutine and the caller. A forgotten stop leaves that goroutine parked, and the source's cleanup never runs.

Prove that stop releases the resource
A comment saying that stop closes the file is a claim. A test turns it into a contract. The lab pulls a header line from ReadLines, checks that the reader is still open while the iterator is suspended, calls stop, and checks what happened:
func TestPullStopReleasesResource(t *testing.T) {
f := &trackedFile{Reader: strings.NewReader("header\nrow 1\nrow 2\n")}
next, stop := iter.Pull2(ReadLines(opener(f)))
header, err, ok := next()
if !ok || err != nil || header != "header" {
t.Fatalf("next() = %q, %v, %v", header, err, ok)
}
if f.closes != 0 {
t.Fatal("source closed while the pull iterator is still suspended")
}
stop() // the suspended yield returns false; ReadLines runs its defer
if f.closes != 1 {
t.Fatalf("Close called %d times after stop, want 1", f.closes)
}
if line, err, ok := next(); ok || err != nil || line != "" {
t.Fatalf("next() after stop = %q, %v, %v; want zero values", line, err, ok)
}
stop() // calling stop again is allowed and does nothing
if f.closes != 1 {
t.Fatalf("second stop closed again: %d", f.closes)
}
}The test pins down four behaviours. While the pull iterator is suspended after the first value, the source is open; that is the window in which a forgotten stop leaks. After stop, Close has been called exactly once, synchronously, so no sleep or polling is needed. Calling next after stop returns zero values and false, as documented. A second stop is harmless and does not close anything twice.
A companion test reads to the end without calling stop first and shows that exhaustion alone also closes the reader, which is why the documentation only requires stop when the sequence was not consumed to completion. We still defer it unconditionally, because a redundant call costs nothing and a missed one leaks a resource. Use the same pattern for any Pull-based helper you publish: instrument the source, suspend it, stop it and assert the release. If the helper can stop its sources from several places, write one test per exit path and run them under the race detector.
Paginated APIs as iter.Seq2[T, error]
Cursor-paginated APIs are one of the best fits for iterators. Callers want items, not pages; they often stop early; and every page costs a network round trip. A single iter.Seq2[T, error] can hide the cursor bookkeeping while keeping requests lazy:
// Paginate yields every item of every page. Pages are fetched lazily: a
// consumer that stops early never triggers the request for the next page.
// The first error is yielded once, with the zero T, and ends the sequence.
// The iterator is reusable; every range loop starts again from the first page.
func Paginate[T any](ctx context.Context,
fetch func(ctx context.Context, cursor string) (Page[T], error),
) iter.Seq2[T, error] {
return func(yield func(T, error) bool) {
var zero T
cursor := ""
for {
if err := ctx.Err(); err != nil {
yield(zero, err)
return
}
page, err := fetch(ctx, cursor)
if err != nil {
yield(zero, err)
return
}
for _, item := range page.Items {
if !yield(item, nil) {
return
}
}
switch page.Next {
case "":
return
case cursor:
yield(zero, ErrCursorStuck)
return
}
cursor = page.Next
}
}
}The contract is visible in the code. A page is fetched only when the consumer asks for an item beyond the ones already delivered, so a loop that breaks after three items of two-item pages causes exactly two requests; the lab counts them on an httptest server that serves JSON pages. The first error is yielded once with the zero value of T and ends the sequence, so callers can write if err != nil { return err } without worrying about later values. The context is checked between pages: in the lab, cancelling while the first page is being consumed lets the rest of that page arrive and then yields context.Canceled without another fetch. A server that hands back the cursor it was given would otherwise make the loop spin forever, so Paginate reports ErrCursorStuck instead.
Because Paginate is reusable, ranging over the same value twice repeats every request; the lab sees six requests for two full passes over three pages. If several parts of a handler need the same items, collect them once. A small helper keeps that explicit:
// CollectErr drains seq into a slice and stops at the first error.
// The values collected before the error are returned with it.
func CollectErr[T any](seq iter.Seq2[T, error]) ([]T, error) {
var out []T
for v, err := range seq {
if err != nil {
return out, err
}
out = append(out, v)
}
return out, nil
}CollectErr returns the values gathered before the failure together with the error, which leaves the caller to decide whether a partial result is useful. Many APIs should discard it. Write that policy at the call site, where reviewers can see it, rather than burying it inside the iterator.
Database rows without leaked connections
database/sql predates iterators, and in Go 1.27 *sql.Rows still exposes Next, Scan, Err and Close rather than an iterator method. The package's Go 1.27 additions, ConvertAssign and the RowsColumnScanner interface, are aimed at drivers. A small adapter gives callers a range loop while keeping the most important rule in one place:
// Queryer is satisfied by *sql.DB, *sql.Tx and *sql.Conn.
type Queryer interface {
QueryContext(ctx context.Context, query string, args ...any) (*sql.Rows, error)
}
// QueryRows runs query each time the iterator runs and yields one scanned
// value per row. Rows are closed however the loop ends, which returns the
// connection to the pool. Query, scan and iteration errors are yielded once
// and end the sequence.
func QueryRows[T any](ctx context.Context, q Queryer,
scan func(*sql.Rows) (T, error), query string, args ...any,
) iter.Seq2[T, error] {
return func(yield func(T, error) bool) {
var zero T
rows, err := q.QueryContext(ctx, query, args...)
if err != nil {
yield(zero, err)
return
}
defer rows.Close()
for rows.Next() {
v, err := scan(rows)
if err != nil {
yield(zero, err)
return
}
if !yield(v, nil) {
return
}
}
if err := rows.Err(); err != nil {
yield(zero, err)
}
}
}The database/sql documentation says rows are closed automatically when Next returns false. That covers loops that run to the end. It does not cover the loop that finds what it wanted and breaks, which is exactly where hand-written code tends to leak. With defer rows.Close() inside the iterator, every exit path returns the connection to the pool.
The lab proves this with a tiny in-memory driver that counts driver-level Rows.Close calls, behind a pool limited to one open connection. After a loop that breaks at the second user, the driver has seen one close, db.Stats().InUse is zero, and a second query succeeds; a deadline on that query turns a regression into a test failure instead of a hang. A negative control that opens rows by hand and stops without closing them shows InUse stuck at one until Close is called, and deleting the defer from QueryRows made the break test fail with zero closes. An error injected by the driver at the third row is yielded once after two good rows, and the rows are still closed. A scan error into the wrong type is yielded once as well.
Accepting the small Queryer interface lets the same function run against a *sql.DB, a *sql.Tx or a pinned *sql.Conn, and each range loop runs the query again. Remember that the connection stays checked out while the consumer's loop body runs, so avoid slow network calls or nested queries inside the loop on a small pool. Our database/sql pool guide covers sizing and timeouts around this pattern.
Channels leak where iterators simply return
Before range-over-func, a common way to produce values lazily was a goroutine that sends on a channel:
// Generate is the pre-iterator pattern: a goroutine sends values on a
// channel. Breaking out of a range over the channel does not stop the
// goroutine; only cancelling ctx (or draining the channel) does.
func Generate[V any](ctx context.Context, values []V) <-chan V {
ch := make(chan V)
go func() {
defer close(ch)
for _, v := range values {
select {
case ch <- v:
case <-ctx.Done():
return
}
}
}()
return ch
}The consumer can range over the channel, but breaking out of that loop tells the producer nothing. The lab's testing/synctest test breaks after the second value, waits until every other goroutine in the bubble is durably blocked, and then shows that the producer is still alive: a non-blocking receive immediately gets the pending third value. Only after cancel does the producer exit and close the channel. Every channel generator therefore needs a context or done channel, every consumer must remember to cancel it, and the producer must select on it at every send. The matching iterator test breaks out of slices.Values inside a synctest bubble, and the bubble finishes with no goroutine to wait for, because none was ever started.
When the cancellation path is missing, the goroutine is stranded for the life of the process. Go 1.27 made the goroutineleak profile generally available in runtime/pprof, and the lab uses it as evidence: a helper ranges over a producer that has no stop path, returns after the first value, and the profile written immediately afterwards names the abandoned producer's function. The release notes also state the limit of the technique: it builds on reachability, so leaks involving primitives reachable from global variables or from the local variables of runnable goroutines may go unreported. Our goroutine leak profile guide covers reading such profiles in production.
Channels remain the right tool when production and consumption genuinely run concurrently, for example a producer that overlaps network I/O with the consumer's work, or fan-out to several workers. If the only goal is lazy sequencing inside one goroutine, an iterator removes a goroutine, a channel, a context and a whole class of leaks.
Measure before calling iterators free
It is tempting to say that range-over-func compiles down to an ordinary loop. Sometimes the compiler gets close and sometimes it does not, and the only honest answer is a benchmark of your own code. The lab sums the even values of a 1,024-element slice in five ways. One of them looks like this:
func BenchmarkSumSlicesValues(b *testing.B) {
for b.Loop() {
sum := 0
for v := range slices.Values(benchData) {
if v%2 == 0 {
sum += v
}
}
sink = sum
}
}On an Apple M4 laptop with Go 1.27.3, go test -bench . -benchmem -count=5 reported these ranges per operation. The plain for _, v := range loop took 276 to 355 ns. Ranging over slices.Values took 1,889 to 2,426 ns. Ranging over Filter(slices.Values(...), isEven) took 1,044 to 1,084 ns. Draining the same sequence through iter.Pull took 41.9 to 45.8 µs with 7 allocations totalling 256 bytes, and the channel generator took 132 to 173 µs with 2 allocations. The three push-style variants reported zero allocations.
Do not turn those numbers into rules: they describe one tiny loop body on one machine. The useful part is the method, which you can reproduce. Building with -gcflags=-m showed that the compiler inlined slices.Values and its iterator function into the benchmark, but it did not report inlining the loop body itself, the synthesized yield, so each element still cost a function call. The report did show the body of Filter's inner loop inlined into the iterator, which is consistent with the Filter version being faster: only the 512 even values reach the outer loop body. Pull and the channel both hand every value across goroutines, and that is visible in their timings.
When the per-element work is a database row, a JSON decode or a network page, this overhead is small next to the work itself. In a hot numeric loop it may not be. Profile first, read the compiler's inlining report, and keep plain loops where the measurement says they matter.
When a slice or a callback is the better API
Iterators are not the default answer for every sequence. Return a slice when callers need len, indexing, sorting, several passes or a stable snapshot that outlives a closed file or connection. A slice is also the natural shape for JSON responses and for results that are small and already in memory; wrapping one in an iterator only for every caller to call slices.Collect adds code without adding laziness.
Prefer a callback with an error result, such as func(Item) error, when the consumer must report failure back to the producer. With an iter.Seq, the consumer can stop but cannot say why, so the reason has to travel through a variable outside the loop. A walk function in the style of fs.WalkDir makes the consumer's error the producer's return value, which keeps batch and transactional work honest. Keep channels for real concurrency, and keep iter.Pull for consumers that genuinely interleave sequences.
When an iterator is the right shape, review it against a short list:
- Every call to
yieldchecks the result, and every adapter returns when its ownyieldreturns false. - Acquisition and release live inside the iterator, with the release deferred.
- Errors in an
iter.Seq2[T, error]are yielded once and end the sequence, and the doc comment says so. - The doc comment says whether the iterator is reusable or single-use, and what a second loop does.
- Every
iter.Pullis followed bydefer stop(). - Tests break early, panic in the loop body and run to completion, and assert the cleanup each time.
The iterflow folder in the lab archive contains every example in this guide. Run go test -race -count=3 ./... inside it, then delete one of the defer lines and watch which test fails.
Primary sources & editorial method
We checked these primary references on 30 November 2026. Release facts are attributed; recommended workflows and examples are GopherForge analysis. Illustrations are conceptual, not vendor screenshots or benchmarks.
- Go 1.23 Release Notes
- Go 1.24 Release Notes
- Go 1.27 Release Notes
- Go release history
- The Go Programming Language Specification: For statements with range clause
- Range Over Function Types (The Go Blog)
- Package iter
- Package slices
- Package maps
- Package database/sql
- Package testing/synctest
- Package io/fs: WalkDir
- runtime/coro.go at go1.27.3