setting vars for summary