adding support for getting polls