added export polls functionality