new version for realtime feature