start to use generators of Go 1.4