added number of ones