modified mult2 to distribute. Still needs to be changed to an atomic operation