getting realtime working better