added flexible poll