add some access control to maintain sum