change pollInterval to pollIntervalCustom