add polling
add 2 method
add polling logic