improvements to realtime