implemented opinion poll prototype