changed design and added totals