added a simple chat interface