added initial attempt of chat sample