added dynamic creation of polls for taking polls