Working version of realtime fetch