making chat an optional example