Couldn't this result in num=>0 being added twice?