commented out debugging output
updated summary segment