improved code for poll participation