msgref.Initialize("Reference",realtime.Reference.Child("users/"&Starter.phone.GetSettings("android_id")&"/Messages"),"users/"&Starter.phone.GetSettings("android_id")&"/Messages")
Dim users() As String
users = Array As String("Someone", "ErelClone", "AnotherUser")
Dim rnduser As Int = Rnd(0,users.Length)
Dim msgs() As String
msgs = Array As String("Hello there", "Hi Master", "You are great")
Dim rndmsg As Int = Rnd(0,msgs.Length)
Dim tit() As String
tit = Array As String("My subject", "this is the subject", "MyGreatSubject")
Dim rndtit As Int = Rnd(0,tit.Length)
msgref.push.setValue(CreateMap("From":users(rnduser),"Title":tit(rndtit),"Message":msgs(rndmsg),"time":DateTime.Now),"MSG","Reference") ' This adds a new key to the tree users/userid/messages/ like seen above in my Screenshot