Making the votes array atomic since we are voting in parallel