adding interval polling