simplify realtime helper example