new version takes real-time data