implemented polling service