added two cases for poll