form summary functions