simple node poll example