poll.rb modified