added looper, fixed typo in poll