more layout logic for summary --KW