added interval for realtime