add realtime check