ch2 intro example