added voting model