Added poll_id argument to poll function