sChat lib with example