sum work for footer