resynchronize chapter code snippets with code