Added more code to socialize demo