Fix in previous checkin

Added the begin func (as used in the book)