Implemented accumulate method